package com.ff.neuropp.repository;

import com.ff.neuropp.domain.Coupon;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


public interface CouponRepository extends JpaRepository<Coupon, Integer>, JpaSpecificationExecutor<Coupon> {

//    List<Coupon> findAllByStatus(Integer staus);
//
//    List<Coupon> findAllByStatusAndNameLike(Integer staus, String name);
//
//    Coupon findByIdAndStatus(Integer id, Integer status);
}
